package cn.jetpiece.cloud.joss.sdk.core.oss.model.enums;

/**
 * 访问控制
 *
 * @author XuJZ
 * @date 2020/9/21
 */
public enum AclEnum {
    /**
     * 私有
     */
    PRIVATE(1, "私有"),

    /**
     * 公共读
     */
    PUBLIC_READ(2, "公共读"),

    /**
     * 公共读写
     */
    PUBLIC_READ_WRITE(3, "公共读写");

    AclEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    private int code;

    private String message;

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
